package com.web.system.service;

import java.util.List;

import com.web.system.po.LoginPo;
import com.web.system.po.UserPo;

public interface UserService {
	public boolean checkLogin(LoginPo login);
	public List<UserPo> getUserList(String queryString, int first, int pageSize);
	public boolean saveOrUpdateUser(UserPo user);
	public int deleteUsersBySql(String sql);
	public UserPo getUserByUserId(String userId);
	public UserPo getUserByLogin(LoginPo login);
	public int getTotal(String sql);
	public boolean isExistUser(String name);
	public List<UserPo> getAllUsers(String way, UserPo userPo);
	
	public int cancleUser(String longDate);
	
	public int deleteUsers(String[] userIds);
}
